package slash.util;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;

/**
 * Interface all entities use to render and update
 * @author Julien Gilbert
 *
 */
public interface IRenderable {
	
	/**
	 * Updates object
	 * @param time
	 */
	public void update(GameContainer container, int time);
	
	/**
	 * Renders object
	 * @param graphics
	 */
	public void render(Graphics g);

}
